package com.ruoyi.common.constant;

/**
 * 单据类型
 * @author ZhanCheng.Li
 * @date 2021/4/17 14:36
 * @version 1.0.0
 */
public interface OrderType {

    /**
     * 拖拖商城转单
     */
    String TuoTuo="tuotuo";

    /**
     * 现结
     */
    String CURRENT = "current";

    /**
     * 月结
     */
    String MONTH = "month";

    /**
     *  合作商家
     */
    String MERCHANT = "merchant";

    /**
     * 车主
     */
    String CAR_DRIVER = "carDriver";

    /**
     *  结算单
     */
    int SETTLEMENT = 20210429;


    /**
     * 图片类型：取货地拍照/取货地签名；收货地拍照/收货地签名
     */
    String PICKUP_PHOTO="pickUpPhoto";
    String PICKUP_SIGN="pickUpSign";
    String RECEIVE_PHOTO ="receivePhoto";
    String RECEIVE_SIGN="receiveSign";

    /**
     *  工作进度：已取货/已送达
     */
    String PICKUP = "pickUp";
    String DELIVERED ="delivered";

    String YES = "Y";

    String NO = "N";

    /**
     *  普通订单
     */
    String NORMAL="normal";

    /**
     *  微店订单
     */
    String MICRO_SHOP="microShop";

    /**
     *  暂停营业
     *  营业中
     *  停止营业
     *  营业中和停止营业定时任务完成，暂停营业后定时任务不会自动营业，需手动营业
     */
    String SHUT_DOWN = "shutDown";
    String SHOP_OPEN = "shopOpen";
    String SHOP_CLOSE = "shopClose";

    /**
     *  销售中
     *  售罄
     */
    String ON_SALE = "onSale";
    String SOLD_OUT = "soldOut";

    /**
     *  关联类型：广告
     */
    String ADVERTISING = "advertising";
    String SUBJECT = "subject";

    String COOKER = "cooker";

    /**
     * 订单类型：
     * 分享商品购买：1
     * 分享微店购买：2
     * 直接购买：3
     * 凭券订餐：4
     */
    Integer GOODS_SHARE = 1;
    Integer MICRO_SHOP_SHARE = 2;
    Integer JUST_BUY = 3;
    Integer FREE_TICKET = 4;

    /**
     * 订单类型
     * 住宿订单
     * 美食订单
     */
    String ORDER_TYPE_ROOM = "room";
    String ORDER_TYPE_DISH = "dish";

    String HOTEL = "hotel";
    String RESTAURANT = "restaurant";
}
